/**
 * Created by kule on 2017/3/14.
 */
let URLSearchParams;
export const getUrlSearchParams=(search)=>{
    if(URLSearchParams){
        return new URLSearchParams(search);
    }
    URLSearchParams=require('url-search-params');
    return new URLSearchParams(search);
};

export default getUrlSearchParams;